﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _8Group.MES.Model.WM仓储管理
{
    /// <summary>
    /// 物料消耗记录表
    /// </summary>
    public class WM_Item_Consume : Entity<int>
    {
        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int WorkorderId { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string WorkorderCode { get; set; }

        /// <summary>
        /// 生产工单名称
        /// </summary>
        public string WorkorderName { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public int TaskId { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string TaskCode { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }

        /// <summary>
        /// 工作站ID
        /// </summary>
        public int WorkstationId { get; set; }

        /// <summary>
        /// 工作站编号
        /// </summary>
        public string WorkstationCode { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string WorkstationName { get; set; }

        /// <summary>
        /// 工序ID
        /// </summary>
        public int ProcessId { get; set; }

        /// <summary>
        /// 工序编号
        /// </summary>
        public string ProcessCode { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 消耗日期
        /// </summary>
        public DateTime ConsumeDate { get; set; }

        /// <summary>
        /// 单据状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
